package com.sleep.psy.external_server.business.psy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 提交分数详细表
 * </p>
 *
 * @author wenliguo
 * @since 2025-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PsySection implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "section_id", type = IdType.AUTO)
    private Long sectionId;

    @ApiModelProperty("提交分数主表主键id")
    private Long answerId;

    @ApiModelProperty("报告id")
    private Long reportId;

    @ApiModelProperty("答案对应的值(量表题中的value字段)")
    private Integer selectedIndex;

    @ApiModelProperty("选择的选项")
    private String selectedOptions;

    @ApiModelProperty("问题")
    private String template;

    @ApiModelProperty("答题顺序")
    private Integer sortIndex;

    @ApiModelProperty("答案对应的值(量表题中的value字段)")
    private Double value;

    @ApiModelProperty("答案文字描述")
    private String text;

    private String dateCreated;

    private String lastUpdated;


}
